#ifndef _PM_TRIGGER_HPP_
#define _PM_TRIGGER_HPP_

/*---------------------------------------------------------------------------*/

namespace ProjectManager {

	struct Repository;

/*---------------------------------------------------------------------------*/

struct Trigger
{
/*---------------------------------------------------------------------------*/

public:

/*---------------------------------------------------------------------------*/

	virtual ~Trigger() {}

	virtual const Repository& getRepository() const = 0;

	virtual unsigned int getCheckInterval() const = 0;

	virtual void setCheckInterval( unsigned int _checkInterval ) = 0;

/*---------------------------------------------------------------------------*/

};

/*---------------------------------------------------------------------------*/

} // namespace ProjectManager

/*---------------------------------------------------------------------------*/

#endif // _PM_TRIGGER_HPP_
